package com.chengjue.transaction.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 描述:
 * 用户信息检查
 * 检查是否有token
 *
 * @author Kipeng Huang
 * @create 2018-02-27 下午2:20
 */
@Target({ElementType.METHOD, ElementType.TYPE})

@Retention(RetentionPolicy.RUNTIME)
public @interface UserAccess {
	boolean needLogin() default false;
}
